/*
 * Copyright (c) 2012-2014, EpicSaaS Yuan Xin technology Co., Ltd.
 * 
 * All rights reserved.
 */
package com.epicsaas.app.ksdapp.android.bean;

import java.util.List;

/**
 * @author fbl
 * 组合购
 */
public class ProductGroup {

    /**  */
    private boolean isShow;

    /** 原商品 */
    private Product primaryProduct;

    /** 组合名称 */
    private String name;

    /** 组合商品列表 */
    private List<Product> productDTOs;

    /**  价格 */
    private float price;

    public ProductGroup() {
        super();
    }

    public ProductGroup(Product primaryProduct, String name, List<Product> productDTO) {
        super();
        this.primaryProduct = primaryProduct;
        this.name = name;
        this.productDTOs = productDTO;
    }

    @Override
    public String toString() {
        return "ProductGroup [primaryProduct=" + primaryProduct + ", name=" + name + ", productDTO=" + productDTOs
                + "]";
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public Product getPrimaryProduct() {
        return primaryProduct;
    }

    public void setPrimaryProduct(Product primaryProduct) {
        this.primaryProduct = primaryProduct;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Product> getProductDTO() {
        return productDTOs;
    }

    public void setProductDTO(List<Product> productDTO) {
        this.productDTOs = productDTO;
    }

    public boolean isShow() {
        return isShow;
    }

    public void setShow(boolean isShow) {
        this.isShow = isShow;
    }

}
